<?php 
	$IdLibro = $_GET['id'];

	require_once ('../tabla/funciones/conexiones.php');
	$sql = "DELETE FROM ls_06_registro_libro WHERE LS00IDLB = '$IdLibro'";

	$q = mysqli_query( $con, $sql);
	if ($q!="0") {
		echo  "<script>alert('El Libro se eliminado satisfactoriamente.'); window.location.href=\"index.php\"</script>" ;
	}
		else{
			echo  "<script>alert('El Libro No Se elimino.'); window.location.href=\"index.php\"</script>" ;
		}
	

 ?>
